<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>丽水市教育局义务教育智慧食堂大数据</title>
    <link href="./css/index.css?123" media="all" rel="stylesheet">
    <link rel="stylesheet" href="./css/bigdataplatform.css?123">
    <style>
        html {
            font-size: 62.5% !important;
            /* 10÷16=62.5% */
        }

        @media only screen and (min-width: 481px) {
            html {
                font-size: 80% !important;
            }
        }

        @media only screen and (min-width: 720px) {
            html {
                font-size: 90% !important;
            }
        }

        @media only screen and (min-width: 1920px) {
            html {
                font-size: 100% !important;
            }
        }

        @media only screen and (min-width: 2736px) {
            html {
                font-size: 180% !important;
            }

        }

        /* 4k分辨率下 */
        @media only screen and (min-width: 3840px) {
            html {
                font-size: 300% !important;
            }

        }

        /* 4k分辨率下结束 */
    </style>
</head>


<body>
    <div class="wrapper">
        <div class="header" id="header">
            <img class="header-bg" src="./images/header-bg.png" />
            <div class="header-content">
                <div class="left-content header-left">
                    <div class="time-container">
                        <img src="./images/header-time.png" />
                        <div class="time-content">
                            <p id="time"></p>
                            <span id="date"></span>
                        </div>
                    </div>
                    <div class="time-btn time-btn-left">
                        <img src="./images/header-icon1.png" />基本情况
                    </div>
                </div>
                <div class="center-content">
                    <div class="title">
                        <span>丽水市教育局义务教育智慧食堂大数据</span>
                    </div>
                </div>
                <div class="right-content header-right">
                    <div class="time-btn time-btn-right">
                        <img src="./images/header-icon2.png" />采购溯源
                    </div>
                    <div class="user-container">
                        <img src="./images/header-user.png" class="logo" />
                        <span class="username">ching126</span>
                        <div class="exit">
                            <img src="./images//header-exit.png" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="container" id="container">
            <div class="left-content">
                <div id="xsstsj" class="info">
                    <div class="eatline1">
                        <div class="iconDiv">
                            <img src="./images/icon/shitang.png" alt="" class="xxstIcon">
                        </div>
                        <div class="eat">学校食堂数据
                            <span class="text-style-1">CANTEEN-DATA</span>
                        </div>
                    </div>
                    <div class="eatline2">
                        <div class="stNumber2">
                            279 <span style="color:red;font-size: 20px;">/ 9</span>
                            <div class="text-style-1">学校食堂数量</div>
                        </div>
                        <div class="line">
                        </div>
                        <div class="sm-text">
                            220<div class="text-style-1">
                                小学
                            </div>
                        </div>
                        <div class="sm-text" style="margin-right: 100px;">
                            59 <div class="text-style-1">
                                初中
                            </div>
                        </div>
                    </div>
                    <div class="x-line"></div>
                    <div class="lianghua eatline2">
                        <div class="stNumber2">
                            238 <div class="text-style-1">智能阳光厨房数量</div>
                        </div>

                        <div id="lianghua-bar"></div>
                    </div>
                </div>
                <div id="jiucannum" class="info">
                    <div class="eatline1" style="flex-direction: row;">
                        <div class="iconDiv">
                            <img src="./images/icon/jiucan.png" alt="" class="xxstIcon">
                        </div>
                        <div class="eat">
                            就餐人数
                            <span class="text-style-1">EAT</span>
                        </div>
                    </div>
                    <div class="eatline2">
                        <div class="stNumber2">
                            183745 <div class="text-style-1">在校学生数量</div>
                        </div>


                        <div class="sm-text">
                            28820<div class="text-style-1">莲都</div>
                        </div>
                        <div class="sm-text">
                            9052 <div class="text-style-1">
                                市直
                            </div>
                        </div>
                        <div class="sm-text">
                            23748 <div class="text-style-1">
                                青田
                            </div>
                        </div>
                        <div class="sm-text">
                            28246 <div class="text-style-1">
                                缙云
                            </div>
                        </div>
                        <div class="sm-text">
                            9726 <div class="text-style-1">
                                龙泉
                            </div>
                        </div>

                    </div>
                    <div class="eatline3">
                        <div class="jcxssl">
                            149014<div class="text-style-1">就餐学生数量</div>
                        </div>

                        <div class="sm-text">
                            11918 <div class="text-style-1">
                                遂昌
                            </div>
                        </div>
                        <div class="sm-text">
                            17423 <div class="text-style-1">
                                松阳
                            </div>
                        </div>
                        <div class="sm-text">
                            4578 <div class="text-style-1">
                                云和
                            </div>
                        </div>
                        <div class="sm-text">
                            8262 <div class="text-style-1">
                                庆元
                            </div>
                        </div>
                        <div class="sm-text">
                            7241 <div class="text-style-1">
                                景宁
                            </div>
                        </div>
                    </div>
                    <p class="x-line"></p>
                    <div class="eatline4">
                        <div class="yellow-text text-center">
                            16201 <div class="text-style-1">在校职工人数</div>
                        </div>
                        <div class="yellow-text text-center">
                            14295 <div class="text-style-1">在校就餐职工人数</div>
                        </div>
                        <div class="yellow-text text-center">
                            44375 <div class="text-style-1">一蛋一奶人数</div>
                        </div>
                    </div>
                </div>
                <div class="info flex-box last-box">
                    <div class="eatline1">
                        <div class="iconDiv">
                            <img src="./images/icon/gongcan.png" alt="" class="xxstIcon">
                        </div>
                        <div class="eat">供餐模式及经营模式
                            <span class="text-style-1">MANAGEMENT MODEL</span>
                        </div>
                    </div>
                    <div class="eatline2 gcms">
                        <div id="gcms-left"></div>
                        <div id="gcms-right"></div>
                    </div>
                </div>
            </div>
            <div class="center-content">
                <div class="info-big">
                    <div style="display:flex;align-items:center;text-align:center;">
                        <div class="xxfbqkDiv">
                            <img src="./images/icon/fenbu.png" alt="" class="xxfbqkIcon">
                        </div>
                        <div class="distribution-of-schools">学校分布情况
                            <span class="text-style-1">DISTRIBUTION OF SCHOOL</span>
                        </div>
                    </div>
                    <div id="map"></div>
                    <div class="map-info">
                        <div class="minfo">
                            <h3 class="count school_5">24</h3>
                            <p class="type">小学</p>
                            <p class="unit">个</p>
                        </div>
                        <div class="minfo">
                            <h3 class="count school_6">5</h3>
                            <p class="type">初中</p>
                            <p class="unit">个</p>
                        </div>
                    </div>
                    <div id='backBtn' class="backbtn">返回</div>
                </div>
                <div id="xxcc" class="info info-mid last-box">
                    <div class="left">
                        <div class="up">
                            <p class="uptitle">餐次供应统计（所）</p>
                            <img src="./images/sbg.png" />
                        </div>
                        <div class="down">
                            <div class="down-info">
                                <div class="down-icon">
                                    <!-- <img class="lb" src="./images/lb.png" /> -->
                                    <img class="tb" src="./img/icon/xxcctj/guogai.png" />
                                </div>
                                <div class="yellow-text text-center">
                                    87 <div class="text-style-1">
                                        中餐
                                    </div>
                                </div>
                            </div>
                            <div class="down-info">
                                <div class="down-icon">
                                    <!-- <img class="lb" src="./images/lb.png" /> -->
                                    <img class="tb" src="./img/icon/xxcctj/jitui.png" alt="">
                                </div>
                                <div class="yellow-text text-center">
                                    4 <div class="text-style-1">
                                        中、晚餐
                                    </div>
                                </div>
                            </div>
                            <div class="down-info">
                                <div class="down-icon">
                                    <!-- <img class="lb" src="./images/lb.png" /> -->
                                    <img class="tb" src="./img/icon/xxcctj/hanbao.png" alt="">
                                </div>
                                <div class="yellow-text text-center">
                                    140 <div class="text-style-1">
                                        早、中、晚餐
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="right">
                        <div class="up">
                            <p class="uptitle">就餐餐标统计（元）</p>
                            <img src="./images/sbg.png" />
                        </div>
                        <div class="down">
                            <div id="jiucan-bar"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="right-content">
                <div class="info flex-box">
                    <div class="eatline1">
                        <div class="iconDiv">
                            <img src="./images/icon/gongqin.png" alt="" class="xxstIcon">
                        </div>
                        <div class="eat">工勤人员概况
                            <span class="text-style-1">HANDYMAN</span>
                        </div>
                    </div>
                    <div class="right-box-mid">
                        <div class="right-box-mid-content">
                            <div class="content-box">
                                <div class="iconDiv">
                                    <img src="./images/icon/person.png" alt="" class="xxstIcon2">
                                </div>
                                <div class="gqryzs">
                                    工勤人员总数
                                    <div class="text-style-2">1390<span class="text-style-3">人</span></div>
                                </div>
                            </div>
                            <div class="content-box">
                                <div class="iconDiv">
                                    <img src="./images/icon/health.png" alt="" class="xxstIcon2">
                                </div>
                                <div class="jkzk">
                                    健康证状态
                                    <div class="text-style-1">343 <span class="text-style-2"> </span>
                                        <span class="text-style-3">/1047</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="eatline2 gcms">
                        <div id="sex-pie"></div>
                        <div id="health-pie"></div>
                    </div>
                </div>
                <div class="info flex-box">
                    <div class="eatline1">
                        <div class="iconDiv">
                            <img src="./images/icon/popular.png" alt="" class="xxstIcon">
                        </div>
                        <div class="eat">最受欢迎的菜品
                            <span class="text-style-1">MOSTPOPULARDISHES</span>
                        </div>
                    </div>
                    <div class="eatline2">
                        <div id="dish-bar"></div>
                    </div>

                </div>
                <div class="info flex-box last-box" style="overflow:hidden">
                    <div class="eatline1">
                        <div class="iconDiv">
                            <img src="./images/icon/price.png" alt="" class="xxstIcon">
                        </div>
                        <div class="eat">健康证预警
                            <span class="text-style-1">PRICE WARNNING</span>
                        </div>
                    </div>
                    <div class="eatline2">
                        <div id="warn-table" class="warn-table">
                            <div class="m-tablel1">
                                <div class="top" style="width: 100%;display: flex;">
                                    <span class="s1">姓名</span>
                                    <span class="s2">学校名称</span>
                                    <span class="s3">健康证生效时间</span>
                                    <span class="s4">过期时间</span>
                                    <span class="s5">过期天数</span>
                                </div>
                                <div class="m-slickl1">
                                    <div class="item">
                                        <span class="s1">吴夏英</span>
                                        <span class="s2" title="庆元县五大堡乡中心小学">庆元县五大堡乡中心小学</span>
                                        <span class="s3">2020-07-17</span>
                                        <span class="s4">2021-07-17</span>
                                        <span class="s5"><em style="color: #FFB800;">剩21天到期</em></span>
                                    </div>
                                    <div class="item">
                                        <span class="s1">赖春华</span>
                                        <span class="s2" title="庆元县竹口镇中心学校">庆元县竹口镇中心学校</span>
                                        <span class="s3">2020-03-30</span>
                                        <span class="s4">2021-03-30</span>
                                        <span class="s5"><em style="color: #FFB800;">已过期</em></span>
                                    </div>
                                    <div class="item">
                                        <span class="s1">周有亮</span>
                                        <span class="s2" title="庆元县第二中学">庆元县第二中学</span>
                                        <span class="s3">2020-05-04</span>
                                        <span class="s4">2021-05-04</span>
                                        <span class="s5"><em style="color: #FF5722;">已过期</em></span>
                                    </div>
                                    <div class="item">
                                        <span class="s1">文锦兰</span>
                                        <span class="s2" title="庆元县第二中学">庆元县第二中学</span>
                                        <span class="s3">2020-07-13</span>
                                        <span class="s4">2021-03-25</span>
                                        <span class="s5"><em style="color: #FF5722;">剩17天到期</em></span>
                                    </div>
                                    <div class="item">
                                        <span class="s1">吴火菊</span>
                                        <span class="s2" title="庆元县菊隆中学">庆元县菊隆中学</span>
                                        <span class="s3">2020-04-13</span>
                                        <span class="s4">2021-04-13</span>
                                        <span class="s5"><em style="color: #FF5722;">已过期</em></span>
                                    </div>
                                    <div class="item">
                                        <span class="s1">吴夏英</span>
                                        <span class="s2" title="庆元县五大堡乡中心小学">庆元县五大堡乡中心小学</span>
                                        <span class="s3">2020-07-17</span>
                                        <span class="s4">2021-07-17</span>
                                        <span class="s5"><em style="color: #FFB800;">剩21天到期</em></span>
                                    </div>
                                    <div class="item">
                                        <span class="s1">赖春华</span>
                                        <span class="s2" title="庆元县竹口镇中心学校">庆元县竹口镇中心学校</span>
                                        <span class="s3">2020-03-30</span>
                                        <span class="s4">2021-03-30</span>
                                        <span class="s5"><em style="color: #FFB800;">已过期</em></span>
                                    </div>
                                    <div class="item">
                                        <span class="s1">周有亮</span>
                                        <span class="s2" title="庆元县第二中学">庆元县第二中学</span>
                                        <span class="s3">2020-05-04</span>
                                        <span class="s4">2021-05-04</span>
                                        <span class="s5"><em style="color: #FF5722;">已过期</em></span>
                                    </div>
                                    <div class="item">
                                        <span class="s1">文锦兰</span>
                                        <span class="s2" title="庆元县第二中学">庆元县第二中学</span>
                                        <span class="s3">2020-07-13</span>
                                        <span class="s4">2021-03-25</span>
                                        <span class="s5"><em style="color: #FF5722;">剩17天到期</em></span>
                                    </div>
                                    <div class="item">
                                        <span class="s1">吴火菊</span>
                                        <span class="s2" title="庆元县菊隆中学">庆元县菊隆中学</span>
                                        <span class="s3">2020-04-13</span>
                                        <span class="s4">2021-04-13</span>
                                        <span class="s5"><em style="color: #FF5722;">已过期</em></span>
                                    </div>


                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
<script src="./js/jquery-1.11.0.min.js"></script>
<!-- <script src="./js/app.min.js"></script> -->
<link rel="stylesheet" type="text/css" href="css/slick.css" />
<script type="text/javascript" src="js/slick.min.js"></script>
<script type="text/javascript">
    // 模拟动态表格
    $(document).ready(function () {
        $('.m-slickl1').slick({
            dots: false,
            arrows: false,
            infinite: true,
            autoplay: true,
            vertical: true,
            autoplaySpeed: 5000,
            fade: false,
            pauseOnFocus: false,
            pauseOnHover: false,
            pauseOnDotsHover: false,
            speed: 500,
            slidesToShow: 5,
            slidesToScroll: 5,
            adaptiveHeight: true
        });
    });

</script>
<script src="./js/time.js"></script>
<script src="./js/echarts/echarts.min.js"></script>
<!-- 地图js -->
<script src="./js/mapIcon.js"></script>
<script src="./js/map.js" type="module"></script>
<!-- <script src="./js/chart.js"></script> -->
<script src="./js/bigdataplatform.js"></script>
<script>
    setTimeout(() => {
        let height = document.body.clientHeight;
        let headerH = $("#header").height();
        $("#container").height(height - headerH)
    }, 100)

    // 监听屏幕尺寸变化
    window.onresize = function () {
        var dom = document.getElementById(id);
        var domW = dom.clientWidth;
        var domH = dom.clientHeight;
        var winW = window.innerWidth,
            winH = window.innerHeight,
            scaleX = winW / domW,
            scaleY = winH / domH;
    }

    var $regionSchool = { "莲都区": { "小学": "27", "初中": "10" }, "青田县": { "小学": "35", "初中": "12" }, "缙云县": { "小学": "43", "初中": "10" }, "龙泉市": { "小学": "24", "初中": "5" }, "遂昌县": { "小学": "23", "初中": "3" }, "市直": { "小学": "4", "初中": "2" }, "松阳县": { "小学": "19", "初中": "4" }, "云和县": { "小学": "8", "初中": "3" }, "庆元县": { "小学": "14", "初中": "4" }, "景宁畲族自治县": { "小学": "16", "初中": "4" } };
    // 供餐模式及经营模式
    //用餐情况统计
    var gcmsData1 = [
        { value: 17, name: '校外供餐' },
        { value: 251, name: '食堂供餐' }
    ]
    var gcmsColor1 = ['#2da9ff', '#53b422']
    var gcmsData2 = [
        { value: 127, name: '食堂自营' },
        { value: 76, name: '劳务外包' },
        { value: 17, name: '劳务派遣' }
    ]
    var gcmsColor2 = ['#fd444e', '#f1c422', '#1ea2ff']
    managementModelChart(echarts, 'gcms-left', gcmsData1, gcmsColor1);
    managementModelChart(echarts, 'gcms-right', gcmsData2, gcmsColor2);

    //工勤总人数
    var gqryData1 = [
        { value: 226, name: '男' },
        { value: 1164, name: '女' }
    ]
    var gqryColor1 = ['#2da9ff', '#53b422']

    var gqryData2 = [
        { value: 310, name: '45岁以下' },
        { value: 807, name: '45-60岁' },
        { value: 273, name: '60岁以上' }
    ]
    var gqryColor2 = ['#fd444e', '#f1c422', '#1ea2ff']
    managementModelChart2(echarts, 'sex-pie', gqryData1, gqryColor1, [0, 30]);
    managementModelChart2(echarts, 'health-pie', gqryData2, gqryColor2, [0, 30]);

    //菜品统计
    var dishData = { "quantity": ["225", "223", "168", "164", "155", "141"], "name": ["紫菜蛋汤", "炒包心菜", "西红柿蛋汤", "红烧肉", "清炒油冬菜", "红烧鸡腿"] };
    // dishData = dishData.reverse();
    var dishcolor = ['#00b9e3'];
    barchart(echarts, 'dish-bar', dishData, dishcolor);

    //学校食堂数据
    var lianghuaData = [57, 193, 9];

    var lianghuaColor = ['#f0bc3e'];
    lianghuabarchart(echarts, 'lianghua-bar', lianghuaData, lianghuaColor);

    //就餐统计
    setTimeout(() => {
        jiucanbars(echarts, 'jiucan-bar', [
            ["6", "14", "13"]
            , ["2", "3", "2"]
            , ["3.11", "7.67", "6.41"]
        ]);
    }, 100)



</script>

</html>